<?php


define(PUN_ROOT, "d://www//wardkp//");
$pun_root = "d://www//wardkp//";
$war_root = $pun_root."warmath/";

$pun_http = "http://10.0.0.2/wardkp";
$war_http = $pun_http."/warmath";

$db_host = "127.0.0.1";
$db_user = "wardkp";
$db_pwd = "war";


require($pun_root."include/common.php");
require($pun_root."include/parser.php");
require($war_root."/lib/version.php");

$wm_config["title"] = "wardkp";
$wm_config["style"] = $war_http."/lib/style.css";
$wm_config["favicon"] = $pun_root."favicon.ico";





function wm_navbar($active = "war") {
	global $pun_http, $war_http, $is_admin;
	
	echo '<ul class="menu"> <li class="page_item"><a href="'.$pun_http.'" title="Forums">Forums</a></li>';
	
	if($active == "war") echo '<li class="current_page_item"><a href="'.$war_http.'" title="wardkp">wardkp</a></li>';
	else echo '<li class="page_item"><a href="'.$war_http.'" title="Wardkp">wardkp</a></li>';
	if($is_admin == 1){
		if($active == "admin") $act = "current_page_item";
		else $act = "page_item";
		echo '<li class="'.$act.'"><a href="'.$war_http.'/admin/" title="wadkp Admin">Admin</a></li>';
	}
	?>
	</ul>
	<?php
}

function wm_footer() {
?>
<p id="footer"><small>
   New and improved, now with the fresh car smell.
</small></p>
<?php
}


?>
